Google\Web_Stories\REST_API\Lock_Controller S

Total Complexity 30
Dependencies 3
Dependents 0
Total lines 316
Lines of code 180
Logical lines of code 63
Comment lines 98
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
prepare_item_for_response()
S
51 6 26
delete_item_permissions_check()
S
58 5 15
prepare_links()
S
55 4 18
get_item_schema()
S
49 2 34
get_lock()
S
63 4 10
register_routes()
S
49 1 34
delete_item()
S
57 2 17
update_item()
S
66 2 8
__construct()
S
67 1 8
get_item()
S
75 1 4
get_item_permissions_check()
S
80 1 3
update_item_permissions_check()
S
80 1 3